Repository navigation
Sync ako/mxcli: mapping value types, Data grid 2 column keys and widget template fixes; fifth parity sweep - #2023
Merged
Merged
Conversation
Twenty broken-script fixtures for areas the first four sweeps did not probe: calculated attributes, validation rules, list operations, downloads, create members, input widgets, data grid constraints, menus, user task pages, view entities, indexes and page parameters. Measurements against MxBuild 11.16.1 follow with the README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
Seven gaps (check -p passes, mx check rejects): f104 f105 f108 f110 f114 f117 f119. Four where check passes and exec refuses: f99 f100 f120 f125. Six already refused by check, three build clean. f100 and f119 are reordered so the calculated attribute's microflow exists first; f125 keeps the forward reference as its own case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82tETa46YQmMS58pQjL
`alter page … insert … column (ColumnWidth: autoFit)` stored `autofit`: the ALTER column builder lowercased every enumeration value, and Data grid 2 compares its keys exactly, so the column rendered as auto-fill. minWidth was hard-coded `auto`. The column property IDs now carry the stored type's enumeration keys; the builder writes the declared key the value names, and writes minWidth and any other declared primitive as stated. check judges an inserted column by the grid's column schema instead of as a parentless widget that warned about minWidth. Fixes #2718 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix: an alter-inserted Data grid 2 column keeps its enumeration keys
`create or modify page` turning a Data grid 2 attribute column into a customContent column wrote the column's tooltip null, the property the widget hides for custom content, and canon.CarryUnexpressed put the stored empty ClientTemplate back: null over an empty template is how it recognises Studio Pro's unset screen-reader label. mx check reported CE0463 on the grid. Inside a CustomWidgets$WidgetValue the writer's null is deliberate, so that carry now skips widget values. Fixes #2732 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix: a pluggable widget value's null template is not carried over
An import mapping binding a JSON integer to a String attribute stored the value element with the attribute's type; mxbuild compares that with the schema member and reported CE5015. A value element now stores the attribute's type where it aligns with the member (an integer into Long, a string into DateTime, which needs it) and the member's type otherwise, for import and export alike. MDL127's "exact match" table had been measured against the old writes; re-measured over every member x attribute pairing on 11.12.6, it now accepts the conversions mxbuild accepts and names CE6099 / CE0227 for the rest. Fixes #2714 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
MxGenAIConnector.IM_Collection_RetrieveNearestNeighbors stores DataTypes$IntegerType for a value bound to a Decimal attribute, which knownLossy recorded as the one difference a rebuild made. With the member's type stored where the mapping converts (#2714) the rebuild matches it, and the fixture test asks for the entry to go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix: a mapping value stores the JSON member's type where it converts
check-gap: fifth parity sweep, f99-f125 (MxBuild 11.16.1)
…ameter Moving a local list to the caller (a parameter $SaleList added, the `create list` that declared it removed) was refused under mdl 1: "drop $SaleList: $SaleList is still used by: add $NewSale to $SaleList". The splice counted the dropped producer's readers without seeing that the flow it writes has a parameter of that name, which is what they read. Fixes #2726 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix: create or modify can turn a local variable into a same-named parameter
A Marketplace module held a microflow and a snippet both named Lib.Overview. The SEC012 reach model keyed documents by qualified name alone, so a menu item calling the microflow reached the snippet without the execute check, and lint reported CE2729 on what the snippet shows for roles that cannot reach it. The walk's nodes are now kind and name, from refs.SourceType, the navigation columns and the permission element type. show references adds the target type when a name has more than one kind. Fixes #2730 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oK82qrr1WnXxq1eRn7qRJ
…24rqgv fix: SEC012 tells a microflow from a snippet of the same name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
ako/mxcli:maininto upstream: 6 commits since the last sync (#2008) — three write fixes thatmx checkor the app caught after a clean exec (mapping value types, Data grid 2 column keys, a carried-over widget template), and the fifth check-gap parity sweep.Fixes #1998, fixes #1999, fixes #2006.
Mappings
Data grid 2
alter-inserted column keeps its enumeration keys (alter page insert column stores Data Grid 2 ColumnWidth autoFit/autoFill in lowercase (autofit/autofill) and drops minWidth; create page writes them correctly, mxcli check and mx check pass #1999).insert … column (ColumnWidth: autoFit)storedautofit, because the alter column builder lowercased every enumeration value and Data grid 2 compares its keys exactly, so the column rendered as auto-fill;minWidthwas hard-codedauto. The declared key and stated values are now written, and check judges an inserted column by the grid's column schema.create or modify pageturning a Data grid 2 attribute column into customContent leaves an emptytooltiptemplate: check/exec pass, mx check CE0463,fix widgetsdoesn't repair #2006).create or modify pageturning an attribute column into a custom-content column wrote the now-hidden tooltip as null, and the identity carry put the stored empty template back, whichmx checkreported as CE0463. Inside a pluggable widget value the writer's null is deliberate, so that carry now skips it.Check coverage
check -ppasses andmx checkrejects, four where check passes and exec refuses, six already refused by check, three that build clean. Fixtures and results only; the checks follow